import os
Import('env')
Import('dbusEnv')

# Build

localEnv = dbusEnv.Copy()
localEnv.Append(PKG = 'gtk-sharp-2.0')

sources = Split('AssemblyInfo.cs \
                 Global.cs \
                 Notification.cs')

localEnv.CLILibrary('notify-sharp.dll', sources)

# Install

lib_dir = env['DESTDIR'] + os.sep + os.path.join(env['LIBDIR'], 'dcsharp')

env.Alias("install", env.InstallLibrary(lib_dir, 'notify-sharp.dll'))
env.Alias("install", env.InstallData(lib_dir, 'notify-sharp.dll.config'))
